import router from "@/router";;

const orderBtnsHandle = {
    "cancel-order": (id) => { console.log("cancel-order" + id); },
    "confirm-receipt": (id) => { console.log("confirm-receipt" + id); },
    "payment-rent": (order_id) => {
        router.push({
            name: "billing",
            query: { order_id }
        });
    },
    "return-logistics": (id) => { console.log("return-logistics" + id); },
    "again-buy": (id) => { console.log("again-buy" + id); },
    "cancel-continue": (id) => { console.log("cancel-continue" + id); },
    "request-refund": (id) => { console.log("request-refund" + id); },
    "request-return": (id) => { console.log("request-return" + id); },
    "apply-again": (id) => { console.log("apply-again" + id); },
    "buy-now": (id) => { console.log("buy-now" + id); },
    "buy-out": (id) => { console.log("buy-out" + id); },
    "renew-lease": (id) => { console.log("renew-lease" + id); },
    "return-address": (id) => { console.log("return-address" + id); },
    "cancel-refund": (id) => { console.log("cancel-refund" + id); },
    "view-logistics": (id) => { console.log("view-logistics" + id); },
    "signing-contract": (id) => { console.log("signing-contract" + id); },
    "re-sign": (id) => { console.log("re-sign" + id); },
    "contact-service": (id) => { console.log("contact-service" + id); },
    "continue-submit": (id) => { console.log("continue-submit" + id); },
    "no-deposit": (id) => { console.log("no-deposit" + id); },
    "deposit-reduction": (id) => { console.log("deposit-reduction" + id); },
}
export default orderBtnsHandle;